PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

product_productbuycosts

Retrieves a product_productbuycosts resource.

Retrieves a product_productbuycosts resource.

Authorizations:
JWT
path Parameters
id
required
string

product_productbuycosts identifier

Responses

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "product": {
    },
  • "currency": {
    },
  • "supplier": {
    },
  • "cost": "string",
  • "supplierCode": "string",
  • "notes": "string",
  • "shortcode": "ASC",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Replaces the product_productbuycosts resource.

Replaces the product_productbuycosts resource.

Authorizations:
JWT
path Parameters
id
required
string

product_productbuycosts identifier

Request Body schema:
required

The updated product_productbuycosts resource

required
object (products.jsonld-post)

Product.

required
object (fee_currencies.jsonld-post)

Currency.

object (person_suppliers.jsonld-post)

Suppliers.

cost
required
string
supplierCode
string or null
notes
string or null
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customData
Array of strings or null
disabledAt
string or null <date-time>

Responses

Request samples

Content type
{
  • "product": {
    },
  • "currency": {
    },
  • "supplier": {
    },
  • "cost": "string",
  • "supplierCode": "string",
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "product": {
    },
  • "currency": {
    },
  • "supplier": {
    },
  • "cost": "string",
  • "supplierCode": "string",
  • "notes": "string",
  • "shortcode": "ASC",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Removes the product_productbuycosts resource.

Removes the product_productbuycosts resource.

Authorizations:
JWT
path Parameters
id
required
string

product_productbuycosts identifier

Responses